#include "global.h"
#include "ros_adapter.h"

int main(int argc, char** argv)
{
    rclcpp::init(argc, argv);

    auto& global = fusion_perception::Global::getInstance();

    auto rosAdapter = std::make_shared<fusion_perception::RosAdapter>();
    rosAdapter->work();

    rclcpp::spin(global.getNode());
    rclcpp::shutdown();

    return 0;
}
